//
//  sdl_File_mac.mm
//  Prism
//
//  Created by Bas du Pre on 05-06-11.
//  Copyright 2011 UU. All rights reserved.
//

#include "global.h"

#if PRISM_OS_MAC

#import <Foundation/Foundation.h>
#include "File.h"

Prism::String Prism::File::native_macResourcesPath() {
    NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
    return Prism::String([bundlePath cStringUsingEncoding: [NSString defaultCStringEncoding]]);
}

#endif